package com.ruoyi.factory.qylock.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * Ereceipt对象 t_ereceipt_head
 *
 * @author ruoyi
 * @date 2024-05-16
 */
public class EreceiptHead extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date billdate;

    /**  */
    @Excel(name = "")
    private String ksname;

    /**  */
    @Excel(name = "")
    private String skway;

    /**  */
    @Excel(name = "")
    private BigDecimal mon;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date skdate;

    /**  */
    @Excel(name = "")
    private String kjperson;

    /**  */
    @Excel(name = "")
    private String jbperson;

    /**  */
    @Excel(name = "")
    private String billtype;

    /**  */
    @Excel(name = "")
    private String mondx;

    /**  */
    @Excel(name = "")
    private String code;

    /**  */
    @Excel(name = "")
    private String ebillstate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String groupname;

    /**  */
    @Excel(name = "")
    private String fgcCreator;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fgcCreatedate;

    /**  */
    @Excel(name = "")
    private String fgcLastmodifier;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fgcLastmodifydate;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fgcRowversion;

    /**  */
    @Excel(name = "")
    private String fgcUpdatehelp;
    private String contractId;

    /** 电子收据信息 */
    private List<EreceiptBody> ereceiptBodyList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBilldate(Date billdate)
    {
        this.billdate = billdate;
    }

    public Date getBilldate()
    {
        return billdate;
    }
    public void setKsname(String ksname)
    {
        this.ksname = ksname;
    }

    public String getKsname()
    {
        return ksname;
    }
    public void setSkway(String skway)
    {
        this.skway = skway;
    }

    public String getSkway()
    {
        return skway;
    }
    public void setMon(BigDecimal mon)
    {
        this.mon = mon;
    }

    public BigDecimal getMon()
    {
        return mon;
    }
    public void setSkdate(Date skdate)
    {
        this.skdate = skdate;
    }

    public Date getSkdate()
    {
        return skdate;
    }
    public void setKjperson(String kjperson)
    {
        this.kjperson = kjperson;
    }

    public String getKjperson()
    {
        return kjperson;
    }
    public void setJbperson(String jbperson)
    {
        this.jbperson = jbperson;
    }

    public String getJbperson()
    {
        return jbperson;
    }
    public void setBilltype(String billtype)
    {
        this.billtype = billtype;
    }

    public String getBilltype()
    {
        return billtype;
    }
    public void setMondx(String mondx)
    {
        this.mondx = mondx;
    }

    public String getMondx()
    {
        return mondx;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setEbillstate(String ebillstate)
    {
        this.ebillstate = ebillstate;
    }

    public String getEbillstate()
    {
        return ebillstate;
    }
    public void setGroupname(String groupname)
    {
        this.groupname = groupname;
    }

    public String getGroupname()
    {
        return groupname;
    }
    public void setFgcCreator(String fgcCreator)
    {
        this.fgcCreator = fgcCreator;
    }

    public String getFgcCreator()
    {
        return fgcCreator;
    }
    public void setFgcCreatedate(Date fgcCreatedate)
    {
        this.fgcCreatedate = fgcCreatedate;
    }

    public Date getFgcCreatedate()
    {
        return fgcCreatedate;
    }
    public void setFgcLastmodifier(String fgcLastmodifier)
    {
        this.fgcLastmodifier = fgcLastmodifier;
    }

    public String getFgcLastmodifier()
    {
        return fgcLastmodifier;
    }
    public void setFgcLastmodifydate(Date fgcLastmodifydate)
    {
        this.fgcLastmodifydate = fgcLastmodifydate;
    }

    public Date getFgcLastmodifydate()
    {
        return fgcLastmodifydate;
    }
    public void setFgcRowversion(Date fgcRowversion)
    {
        this.fgcRowversion = fgcRowversion;
    }

    public Date getFgcRowversion()
    {
        return fgcRowversion;
    }
    public void setFgcUpdatehelp(String fgcUpdatehelp)
    {
        this.fgcUpdatehelp = fgcUpdatehelp;
    }
    public String getFgcUpdatehelp()
    {
        return fgcUpdatehelp;
    }

    public void setContractId(String contractId)
    {
        this.contractId = contractId;
    }
    public String getContractId()
    {
        return contractId;
    }

    public List<EreceiptBody> getEreceiptBodyList()
    {
        return ereceiptBodyList;
    }

    public void setEreceiptBodyList(List<EreceiptBody> ereceiptBodyList)
    {
        this.ereceiptBodyList = ereceiptBodyList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("billdate", getBilldate())
                .append("ksname", getKsname())
                .append("skway", getSkway())
                .append("mon", getMon())
                .append("skdate", getSkdate())
                .append("kjperson", getKjperson())
                .append("jbperson", getJbperson())
                .append("billtype", getBilltype())
                .append("mondx", getMondx())
                .append("code", getCode())
                .append("ebillstate", getEbillstate())
                .append("groupname", getGroupname())
                .append("fgcCreator", getFgcCreator())
                .append("fgcCreatedate", getFgcCreatedate())
                .append("fgcLastmodifier", getFgcLastmodifier())
                .append("fgcLastmodifydate", getFgcLastmodifydate())
                .append("fgcRowversion", getFgcRowversion())
                .append("fgcUpdatehelp", getFgcUpdatehelp())
                .append("contractId", getContractId())
                .append("ereceiptBodyList", getEreceiptBodyList())
                .toString();
    }
}
